package commons.exception;

import network.daemon.Daemon;

public class AlreadyRunningException extends Exception {

	/**
	 * 
	 */
	private static final long	serialVersionUID	= 717644706815804694L;
	private Daemon				runningDaemon;

	public AlreadyRunningException() {
	}

	public AlreadyRunningException(final String message) {
		super(message);
	}

	public AlreadyRunningException(final String message, final Daemon daemon) {
		super(message);
		this.runningDaemon = daemon;
	}

	public AlreadyRunningException(final String message, final Throwable cause) {
		super(message, cause);
	}

	public AlreadyRunningException(final Throwable cause) {
		super(cause);
	}

	public Daemon getRunningDaemon() {
		return runningDaemon;
	}
}
